package ShardSystem;

/**
 *
 * @author David
 */
public class Product {
    
    private String name;
    private int price;
    private String description;
    
    public Product() {
        this.name  = "undefined_product";
        this.price = 0;
    }
    
    public Product(String name, int price) {
        this.name  = name;
        this.price = price;
    }
    
    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the price
     */
    public int getPrice() {
        return price;
    }

    /**
     * @param price the price to set
     */
    public void setPrice(int price) {
        this.price = price;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }
    
    
    
}
